<?php
namespace app\superadmin\model;

use think\Model;

class Check extends Model
{
	
	public function servicelist()
    {
        return $this->belongsToMany('Service', 'CheckService', 'sid', 'cid');
    }


    public function abnormal() {

    	return $this->hasMany('Abnormal','cid');

    }


    public function classifyinfo() {

    	return $this->belongsTo('Classify','cid');

    }
}